"use strict";
// 1.类 class ----------------
var City = /** @class */ (function () {
    // 构造函数
    function City(name, level) {
        this.cName = name;
        this.clevel = level;
    }
    // 成员方法
    City.prototype.about = function () {
        console.log(this.cName + "," + this.clevel);
    };
    return City;
}());
// 创建对象
var c1 = new City('p城', 2);
console.log(c1);
c1.about();
